<li class="stop" >
	<% new_or_existing = stop.new_record? ? 'new' : 'existing' %>
	<% prefix = "route[#{new_or_existing}_stop_attributes][]" %>
	<% fields_for prefix, stop do |s| %>
		<%= s.collection_select(:location_id, Location.all, :id, :name, :prompt => true) %>
		<span class='button'>
			<%= link_to_function "remove", "$(this).up('.stop').remove();" %>
		</span>
	<% end %>
</li>
